package com.vrsys.domain.session;

import java.io.Serializable;

import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;

/*
 * This system will be based on weChat, no password needed.
 */

@Component
public class Account implements Serializable{
    private static final long serialVersionUID = -3679766671654117803L;
    private int userId;
    private String userName;
    private String cellPhone;
    private String weChatId;
    private String sharerId;
    private boolean logged = false;

    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getCellPhone() {
        return cellPhone;
    }
    public void setCellPhone(String cellPhone) {
        this.cellPhone = cellPhone;
    }
    public String getWeChatId() {
        return weChatId;
    }
    public void setWeChatId(String weChatId) {
        this.weChatId = weChatId;
    }
    public String getSharerId() {
        return sharerId;
    }
    public void setSharerId(String sharerId) {
        this.sharerId = sharerId;
    }
    public boolean isLogged() {
        return logged;
    }
    public void setLogged(boolean logged) {
        this.logged = logged;
    }
}
